package com.hoshiicloud.saleorder.param;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class OrderCalcParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员用户id
     */
    @ApiModelProperty(value = "会员用户id")
    private Long userId;

    /**
     * 是否使用积分
     */
    private Integer isCoin;

    /**
     * 积分数
     */
    private Long points;

    /**
     * skuCoupList列表
     */
    private List<SkuCoup> skuCoupList;


    /**
     * storeCoupList列表
     */
    private List<StoreCoup> storeCoupList;


    /**
     * 购物车id集合
     */
    private List<Long> cartIds;




}
